package com.hxzy.shop.commodity.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName AddOriginalDrugReq
 * @Author wengjt
 * @Date 2021/10/28 15:53
 * @Description
 **/
@Data
@ApiModel
public class AddOriginalDrugReq implements Serializable {
    @ApiModelProperty("id")
    private Long drugId;

    @ApiModelProperty("药品编号")
    private String drugCode;

    @ApiModelProperty("条形码")
    private String barCode;

    @ApiModelProperty("药品名称")
    private String drugName;

    @ApiModelProperty("规格")
    private String specifications;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("剂型")
    private String dosageForm;

    @ApiModelProperty("生产厂家")
    private String manufacturer;

    @ApiModelProperty("批准文号")
    private String approvalNumber;

    @ApiModelProperty(value = "上架状态 true上架 false 下架")
    private Boolean state;

    /**
     * 是否处方药 true是 false不是
     */
    @ApiModelProperty("是否处方药 true是 false不是")
    private Boolean prescriptionDrug;


    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @ApiModelProperty("统一售价")
    private BigDecimal uniformRetailPrice;

    @ApiModelProperty("列表图")
    private String tabularChart;

    @ApiModelProperty("轮播图")
    private List<String> drugCarouselMap;

    @ApiModelProperty("详细图")
    private List<String> detailedImage;


    @ApiModelProperty("分类管理一级id")
    private Long parentClassifiedManagementId;

    @ApiModelProperty("分类管理二级id")
    private Long sonClassifiedManagementId;

    @ApiModelProperty("二级疾病id集合")
    private List<Long> diseaseManagementIds;
    /**
     * 药品通用名称
     * */
    @ApiModelProperty("药品通用名称")
    private String drugGenericNames;
}
